import { NgModule } from '@angular/core';

import { SharedModule } from '../shared.module';
import { UserRouterModule } from './user.router.module';

import { UserComponent } from './user-component/user-component.component';
import { UserInfoComponent } from './userinfo-component/userinfo-component.component';
import { ChangeBelongComponent } from './changebelong-component/changebelong-component.component';

const components = [
  UserComponent,
];

const modal = [
  UserInfoComponent,
  ChangeBelongComponent,
];

@NgModule({
  imports: [
    SharedModule,
    UserRouterModule,
  ],
  declarations: [
    ...components,
    ...modal,
  ],
  entryComponents: [
    ...modal,
  ]
})
export class UserModuleModule { }
